﻿#ifndef ISTORE_H
#define ISTORE_H

#include <QObject>
#include "SDataModel.h"

template <typename ModelType>
class IStore : public QObject
{
public:
    explicit IStore(QObject *parent = nullptr) : QObject{parent} { }

    SDataModel<ModelType>& model() { return m_model; }


private:
    SDataModel<ModelType> m_model;
};

#endif // ISTORE_H
